package com.tomato.spring.basic.web.logic.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 萌宠订单需求表
 * </p>
 *
 * @author Surging
 * @since 2024-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PetOrderDemand extends Model<PetOrderDemand> {

    private static final long serialVersionUID = 1L;

    /**
     * 订单需求ID
     */
    @TableId(value = "order_demand_id", type = IdType.AUTO)
    private Integer orderDemandId;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 订单需求名
     */
    private String orderDemandName;

    /**
     * 订单需求详情
     */
    private String orderDemandDetail;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.orderDemandId;
    }

}
